#ifndef BIT_WIN_FROM_XML_H
#define BIT_WIN_FROM_XML_H


class QDomElement;


#include "model_class.h"


namespace BitWin
{


// Means to create different BitWin components from XML description
class FromXml
{
public:

    static PColumnList makeColumns(const QDomElement& element);
    static PRowList makeRows(const QDomElement& element);

    // Key method: create the whole model. This method is the one
    // needed by client code.
    static Model* makeModel(const QDomElement& element);
};


} // BitWin namespace end


#endif
